from django.urls import path
from . import views

app_name = 'apitower'
urlpatterns = [
        #主页
        path('homepage/',views.homepage,name='homepage'),
        #增加楼房
        path('add_building/',views.add_building,name='add_building'),
        #增加楼层
        path('add_floor/',views.add_floor,name='add_floor'),
        #增加房间
        path('add_room/',views.add_room,name='add_room'),
        #删除楼房
        path('api_tower/',views.api_tower,name='api_tower'),
        #删除楼层
        path('api_floor/',views.api_floor,name='api_floor'),
        #删除房间
        path('api_room/',views.api_room,name='api_room'),
        #改变楼房
        path('alter_tower/',views.alter_tower,name='alter_tower'),
        #改变楼层
        path('alter_floor/',views.alter_floor,name='alter_floor'),
        #改变房间
        path('alter_room/', views.alter_room, name='alter_room'),
        #展示楼层楼房房间
        path('show_buildings/', views.show_buildings, name='show_buildings'),
]
